package com.bright.cwduijie.duijie.pojo.po;

import lombok.Data;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author  hxj
 * @Date 2024-07-15 17:04:04 
 * @Description
 */

@Data
@Entity
@Table(name ="DUIJIE_BATCH")
public class DuijieBatch implements Serializable {

    private static final long serialVersionUID =  3734175752669040657L;

    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID")
    private Integer ID;

    /**
     * 账套唯一标识
     */
    @Column(name = "ztDataKey")
    private String ztDataKey;

    /**
     * 批次id
     */
    @Column(name = "batchId")
    private String batchId;

    /**
     * 批次类型
     */
    @Column(name = "batchOrder")
    private Integer batchOrder;

    /**
     * 下一个批次的批次id
     */
    @Column(name = "nextBatchId")
    private String nextBatchId;


    /**
     * 数据交换标志
     */
    @Column(name = "sjjhbz")
    private Integer sjjhbz;

    /**
     * 操作日志
     */
    @Column(name = "writeLog")
    private String writeLog;

    /**
     * 创建时间
     */
    @Column(name = "createDate")
    private Date createDate;

    /**
     * 更新时间
     */
    @Column(name = "writeDate")
    private Date writeDate;

    @Column(name = "years")
    private Integer years;

    @Column(name = "months")
    private Integer months;

}
